package com.example.demo05.mapper;

import com.example.demo05.pojo.Publisher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PublisherDaoMapper {
    public List<Publisher> getAllPublisher();
    public List<Publisher> getPublisherAndAllBooks(@Param("pub_id") Integer pub_id);
}
